import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/global.css' // 全局样式
import './assets/fonts/iconfont.css' // 字体样式
import TreeTable from 'vue-table-with-tree-grid'
// 导入富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css';
import 'quill/dist/quill.snow.css';
import 'quill/dist/quill.bubble.css';
/*插件*/
import './plugins'
import {Message} from 'element-ui'
Vue.config.productionTip = false;
Vue.prototype.alertMessage = function (message, type) {
  Message({
    message,
    type
  });
};

Vue.component('tree-table', TreeTable); // 注册为全局可用的组件

Vue.use(VueQuillEditor);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
